package com.itheima.springboottlias.config;

import lombok.Data;
import org.apache.catalina.User;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author Taotao
 * @date 2023/7/16 16:04
 * @desciption: 阿里配置
 */
@Data
@ConfigurationProperties(prefix = "ali.oss")
@Component
public class AliConfig {
    private String endpoint;
    private String accessKeyId;
    private String accessKeySecret;
    private String bucketName;
    private List<String> hobby;

    private User user;
    private static class User {
        private String name;
        private String age;
    }

}
